package cn.dzhang.spring.boot.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Service;

import cn.dzhang.spring.boot.model.DeviceType;
import cn.dzhang.spring.boot.repository.DeviceTypeRepository;
import cn.dzhang.spring.boot.service.DeviceTypeService;
import cn.dzhang.spring.boot.service.JpaAdapter;

@Service
public class DeviceTypeServiceImpl extends JpaAdapter<DeviceType, Integer>
		implements DeviceTypeService {

	@Autowired
	private DeviceTypeRepository repository;

	@Override
	protected JpaRepository<DeviceType, Integer> getRepository() {
		return repository;
	}
}
